﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Prism.Core.WPF.Graph
{
    [Serializable]
    public class GraphNode<ValueType>
    {

        private ValueType value;

        public ValueType Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        private ValueType left;

        public ValueType Left
        {
            get { return this.left; }
            set { this.left = value; }
        }

        private ValueType right;

        public ValueType Right
        {
            get { return right; }
            set { right = value; }
        }

        private ValueType top;

        public ValueType Top
        {
            get { return top; }
            set { top = value; }
        }

        private ValueType bottom;

        public ValueType Bottom
        {
            get { return bottom; }
            set { bottom = value; }
        }
    }
}
